package com.xhwl.data.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @Author: luyi
 * @Description:
 * @Date: Create in 9:43 2023/2/14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "cent_sdata.sdata_permission_auth")
public class PermissionAuth {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer permissionId;

    private String serviceName;

    private String url;

    private String description;

    private String code;

    @TableField(value = "updated_at", fill = FieldFill.INSERT_UPDATE)
    private Date updatedAt;

    @TableField(value = "created_at", fill = FieldFill.INSERT)
    private Date createdAt;
}
